import { $post } from "@/api/request";

// 设备详情页
export function getDevicePage(data) {
  return $post({
    url: "/alarmMobile/queryMobileStatisticsOfEquipmentPage", // '/Statistics/queryMobileStatisticsOfEquipmentPage',
    data
  });
}

// 移动端空气净化器开关
export function airSwitchControlInMobile(data) {
  return $post({
    url: "/alarm/deviceCommand/airNewDeviceControl", // "/alarmEventInfo/airSwitchControlInMobile", alarm/deviceCommand/airNewDeviceControl
    data
  });
}
